//Erstellt von Moritz Liepe
package main;

import java.util.UUID;

import org.eclipse.draw2d.IFigure;

public interface IModuleControl extends IFigure
{
	public static final String TYPE_INPUT = "input";
	public static final String TYPE_OUTPUT = "output";
	public static final String TYPE_BI = "bidirectional";
	
	public UUID getID();
	public void setID(String ID);
	
	public String getType();
	public void setType(String type);

	public void setAddress(String address);
	public String getAddress();
	
	public boolean isConnectable();
	public void setConnectable(boolean connectable);

	public int getX();
	public void setX(int x);

	public int getY();
	public void setY(int y);

	public int getWidth();
	public void setWidth(int width);

	public int getHeight();
	public void setHeight(int height);
	
	public String getValue();
	public void setValue(String value);
	
	public void paint();
}
